package com.google.code.p.restrpc.client;


/**
 * @author dz
 */
public interface RpcProxy {
    
    /**
     * @param <T>
     * @param serviceInterface
     * @param url
     * @return
     */
    public <T> T createProxy(Class<T> serviceInterface, String url);
    
    /**
     * @param <T>
     * @param classLoader
     * @param serviceInterface
     * @param url
     * @return
     */
    public <T> T createProxy(ClassLoader classLoader,
                             Class<T> serviceInterface,
                             String url);
    
}
